import request from '@/utils/request'

// 重置密码
export function teachingCategoryIndex(params) {
  return request({
    url: 'tools_category/index',
    method: 'get',
    params
  })
}

// 代理班级列表
export function agentClassIndex(params) {
  return request({
    url: 'user_class/index',
    method: 'GET',
    params
  })
}

// 代理班级添加
export function agentClassAdd(option) {
  return request({
    url: 'user_class/add',
    method: 'POST',
    data: option
  })
}

// 代理班级删除
export function agentClassDelete(option) {
  return request({
    url: 'user_class/delete',
    method: 'POST',
    data: option
  })
}
